package ytt.small.fore.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import ytt.small.fore.model.po.User;

/**
 * @Author: small_woods
 * @Date: 2020/6/16 11:50
 */
@Mapper
@Component
public interface UserMapper {
    //新增人员
    int insert(User user);

    //根据用户名查询密码
    String selectByUserName(String username);

    //根据用户名查询所有信息
    User selectAll(String username);
}
